package com.library.entity.po;

/**
 * 书籍副本信息
 */
public class BookCopyPO {
    private String ISBN; //ISBN号
    private String place; //图书位置
    private Integer status; //状态 1可借 2注销 0借出
    private String barCode; //条码号
    private String bname; //书名

    public BookCopyPO() {
    }

    public BookCopyPO(String ISBN, String place, Integer status, String barCode, String bname) {
        this.ISBN = ISBN;
        this.place = place;
        this.status = status;
        this.barCode = barCode;
        this.bname = bname;
    }

    public String getISBN() {
        return ISBN;
    }

    public void setISBN(String ISBN) {
        this.ISBN = ISBN;
    }

    public String getPlace() {
        return place;
    }

    public void setPlace(String place) {
        this.place = place;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public String getBname() {
        return bname;
    }

    public void setBname(String bname) {
        this.bname = bname;
    }

    @Override
    public String toString() {
        return "BookCopyPO{" +
                "ISBN='" + ISBN + '\'' +
                ", place='" + place + '\'' +
                ", status=" + status +
                ", barCode='" + barCode + '\'' +
                ", bname='" + bname + '\'' +
                '}';
    }
}
